<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fm" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登录页面</title>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/style.css" />
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/shopping-mall-index.css" />
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/zhonglin.js"></script>
</head>
<body>
<div class="sign-logo w1200">
    <h1><a href="#" title="宅客微购"><img src="<%=request.getContextPath()%>/images/logo.jpg" /></a></h1>
</div>
    <div class="sign-con w1200">
        <img src="<%=request.getContextPath()%>/images/logn-tu.gif" class="sign-contu f-l" />
        <div class="sign-ipt f-l">
            <%--显示错误信息--%>
            <c:if test="${errors!=null}">
                <font color="red">${errors}</font><br>
            </c:if>
            <form action="${pageContext.request.contextPath}/user/login.action" method="post">
                <p>用户名</p>
                <input type="text" placeholder="手机号/邮箱" name="username"/>
                <p>密码</p>
                <input type="text" placeholder="密码可见" name="password"/><br />
                <button class="slig-btn" type="submit">登录</button>
            </form>
            <p>没有账号？请<a href="${pageContext.request.contextPath}/user/toRegister.action">注册</a><a href="#" class="wj">忘记密码？</a></p>
            <div class="sign-qx">
                <a href="#" class="f-r"><img src="<%=request.getContextPath()%>/images/sign-xinlan.gif" /></a>
                <a href="#" class="qq f-r"><img src="<%=request.getContextPath()%>/images/sign-qq.gif" /></a>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>
<!--底部服务-->
<%@include file="../foot.jsp"%>
</body>
</html>
